/**
 * Copyright (C), 2015-2019, 静修教育咨询有限公司
 * FileName: IChitchatService
 * Author:  SAGIRI
 * Date:     2019/7/24 0024 11:28
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.ruimei.service;

import com.alibaba.fastjson.JSONObject;
import com.ruimei.entitys.ParentAndStudent;

import java.util.List;
import java.util.Map;

/**
 * 〈概要〉<br> 
 * 〈〉
 *
 * @author SAGIRI
 * @create 2019/7/24 0024
 * @since 1.0.0
 */
public interface IChitchatService {
    /**
     * 教师勾选多名学生发送消息
     * @param studentList
     * @param teacherId
     * @param teacherName
     * @return
     */
    JSONObject sendMessage(List<ParentAndStudent> studentList, String teacherName, String content, String teacherId);

    /**
     * 发送回复
     * @param replyContent
     * @return
     */
    JSONObject sendReply(String replyContent,String teacherName,String parentName,String teacherId,String dId,String type,
                         String studentId,String parentId);

    /**
     * 家长发送消息至教师
     * @param teacherList
     * @param parentName
     * @param content
     * @return
     */
    JSONObject sendMessageToTeacher(List<String> teacherList, String parentName, String content,String name
            ,String studentId,String parentId);

    /**
     * 家长通过班级ID获取教师列表
     * @param classId
     * @return
     */
    Map<String,Object> getTeacherByClassId(String classId);
}
